<extend name="Public/base"/>

<block name="style">
<link href="__CSS__/jtbk.css" rel="stylesheet" type="text/css"/>
</block>
<block name="content">   
    <ul class="nav nav-tabs">
   <li ><a href="{:U('Index/index')}">首页</a></li>
   <li ><a href="{:U('Beike/upload')}">资料上传</a></li>
   <li><a href="{:U('Beike/addsubject')}">课程管理</a></li>
   <li class="active"><a href="{:U('Beike/myupload','id='.$vo['id'])}" >我的上传情况</a><li>
   </ul>
	<!-- 标题栏 -->
       <h3>我的资料 </h3> 
        <empty name="list">
            <br/>
                <span class="label label-info">您还未上传资料，请及时上传</span>
         <else/>
           <table class="table table-striped" width="95%">
            <thead>
            <tr class="info">
                <th>序号</th><th>学科</th><th>课题</th><th>上传教师</th><th>上传日期</th><th>操作</th>
            </tr>
            </thead>
            <volist name="list" id="v" >
            <tr>
                <td>{$i}</td>
                <td>{$v.subject_id}{$v.subject}</td> 
                <td><a href="{:U('Beike/detail','id='.$v['id'])}">{$v.title}</a></td> 
                <td>{$v.teacher}</td>                     
                <td>{$v.update_time|date='Y-m-d',###}</td>
                <td>
                <a href="{$v.file_url}"><span style="color:#0088AA"><i class="glyphicon glyphicon-edit"></i>编辑</span></a>｜
                <a href= "__ROOT__/Uploads/Beike/xinxi/{$v.file_url}" ><span style="color:#0088AA"><i class="glyphicon glyphicon-save"></i>下载</span></a></td>

                </tr>
            </volist>
            </table>
        </empty> 
 </div> 
</block>

